#include<bits/stdc++.h>
using namespace std;
int T = 200,n = 200,m;
signed main()
{
	ios::sync_with_stdio(false);
	cin.tie(0),cout.tie(0);
	freopen("pr.in","w",stdout);
	cout << 998244353 << "\n";
	cout << T << "\n";
	for(int i = 1;i <= T;i++)
	{
		m = i;
		cout << n << " " << i << "\n";
	}
	return 0;
}
